/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

if (GBrowserIsCompatible()) {

    //Tao Icon
   

    //var martini = new GIcon(baseIcon, "http://maps.google.com/mapfiles/kml/pal2/icon27.png", null, "http://maps.google.com/mapfiles/kml/pal2/icon27s.png");
    //var plane   = new GIcon(baseIcon, "http://maps.google.com/mapfiles/kml/pal2/icon56.png", null, "http://maps.google.com/mapfiles/kml/pal2/icon56s.png");
    
    function createMarker(point,html,icon) {
        var marker = new GMarker(point,icon);
        GEvent.addListener(marker, "click", function() {
            marker.openInfoWindowHtml(html);
        });

        // The new marker "mouseover" listener
        GEvent.addListener(marker,"mouseover", function() {
            marker.openInfoWindowHtml(html);
        });

        return marker;
    }
}

else {
    alert("Sorry, the Google Maps API is not compatible with this browser");
}